package cn.tedu.knows.gateway.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Slf4j
public class AopController {

    @GetMapping
    public String test(String msg){
        log.info("信息:{}",msg);
        String str=null;
        str.substring(0);
        return "Aop Run!";
    }

}
